package soap.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import soap.feign.query.ExportRecordQuery;
import soap.service.ExportRecordService;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by ZhangPY on 2020/6/26
 * Belong Organization OVERUN-9299
 * overun9299@163.com
 * Explain:
 */
@RestController
@RequestMapping("/exportRecord")
public class ExportRecordController {

    @Autowired
    private ExportRecordService exportRecordService;

    /**
     * 查询导出记录
     * @param request
     * @param exportRecordQuery
     * @return
     */
    @RequestMapping(value = "/getExportRecordListByPage")
    public String getExportRecordListByPage(HttpServletRequest request, ExportRecordQuery exportRecordQuery) {
        return exportRecordService.getExportRecordListByPage(request, exportRecordQuery);
    }
}
